//Square.cpp
//Contains the function definitions for the Square Class

#include <iostream>
#include "Square.h"


using namespace std;

Square::Square(float const &p_X, float const &p_Y, float side)
	: NonCircularShapes(p_X, p_Y, side, side)
{
	setShapeType("Square");
}

float Square::area() const
{
	return NonCircularShapes::getArea();
}

float Square::perimeter() const
{
	return NonCircularShapes::getPerimeter();
}

float Square::volume() const
{
	return 0.0;
}

